.class Lcom/waiqin365/lightapp/syorder/ab;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/syorder/view/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/c/a;

    const-string/jumbo v1, "true"

    iget-object v0, v0, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->g(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SySingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SySingleSelectViewNew;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setVisibility(I)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->g:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->i:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/ap;->g:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/ap;->i:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->h(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->h(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->g(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SySingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/syorder/view/SySingleSelectViewNew;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setVisibility(I)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->g:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/ap;->i:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/ap;->g:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/ap;->i:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :cond_3
    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->i(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, "kpdwId"

    const-string/jumbo v3, ""

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->j(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, "kpdwName"

    const-string/jumbo v3, ""

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/ab;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->f(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto/16 :goto_0
.end method
